﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            Student student = new Student
            {
                Id = 1,
                Name = "张三",
                Sex = '男',
                Cardid = "54548747486",
                Tel = "44554548",
                Major = "数学",
                Garde = "大一"
            };
            Console.WriteLine(" {0} | {1} | {2} | {3} | {4} | {5} | {6}"
            , student.Id,student.Name,student.Sex,student.Cardid,student.Tel,student.Major,student.Garde);

            Teachers teacher = new Teachers
            {
                Id = 245,
                Name = "李四",
                Sex = '女',
                Cardid = "4465",
                Tel = "78454461",
                Title = "教导主任",
                Wageno = "2000"
            };
            Console.WriteLine(" {0} | {1} | {2} | {3} | {4} | {5} | {6}"
            , teacher.Id, teacher.Name, teacher.Sex, teacher.Cardid, teacher.Tel, teacher.Title, teacher.Wageno);

        }
    }
}
